
<script src="build/custom/js/alloct-auth.js" type="text/javascript"></script>
<h2 class="contentTitle">#(item.roleName)</h2>
<div class="pageContent">
	
	<form method="post" action="org/role/saveAlloctSource" class="pageForm required-validate" onsubmit="return validateCallback(this,navTabAjaxDone)">
		<input type="hidden" name="item.id" value="#(item.id )" >
		<input type="hidden" value="#(item.sourceUrl )" id="sourceUrl">
		<input type="hidden" value="#(item.sourceGroup )" id="sourceGroup">
		<div class="pageFormContent nowrap" layoutH="97">
			#for(item:sourceList)
						#if(item.parent == '0')
							#if(item.value != 'system-group')
								<div class="panel" id="#(item.value )">
										<h1><input class="first_menu" type="checkbox" name="sourceGroup" value="#(item.value )">#(item.name )</h1>
										<div>
											<table class="sourceTable" style="margin-left:5px">
											
												#if(item.childs != null )
													#for(second:item.childs)
														<tr>
															<td class="second_menu_td">
																<input class="second_menu" type="checkbox"  name="sourceUrl" value="#(second.value )"/>#(second.name )
															</td>
															<td class="btn_td">
																#if(second.childs != null )
																	-
																	#for(third:second.childs)
																		<input class="third_menu" type="checkbox"  name="sourceUrl" value="#(third.value )"/>#(third.name )
																	#end
																#end
															</td>
														</tr>
													#end
												#end
											</table>
										</div>
								</div>
							#end
						#end
					#end
		</div>
		<div class="formBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">提交</button></div></div></li>
				<li><div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div></li>
			</ul>
		</div>
	</form>
	
</div>

